import { DEFAULT_LAYOUT } from '../base';
import { AppRouteRecordRaw } from '../types';

const DATAEXPORT: AppRouteRecordRaw = {
    path: '/dataExport',
    name: 'dataExport',
    component: DEFAULT_LAYOUT,
    meta: {
        locale: 'menu.dataexport',
        requiresAuth: true,
        icon: 'iconfont icon-shenhemokuai1',
        order: 3,
        hideInMenu: false,
        permCode: 'A030000000',
    },
    children: [
        {
            path: 'labelResult',
            name: 'labelResult',
            component: () => import('@/views/dataExport/labelResult.vue'),
            meta: {
                locale: 'menu.dataexport.result',
                requiresAuth: true,
                roles: ['*'],
                permCode: 'A030100000',
            },
        },
        {
            path: 'taskExport',
            name: 'taskExport',
            component: () => import('@/views/dataExport/taskExport.vue'),
            meta: {
                locale: 'menu.dataexport.tasksearch',
                requiresAuth: true,
                roles: ['*'],
                permCode: 'A030200000',
            },
        },
        
    ],
};

export default DATAEXPORT;